package cn.nebula.music.dao;

import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.AlbumSong;

@Repository
public interface AlbumSongDAO {
	public Set<AlbumSong> findAllAlbumSongs();

	public Set<AlbumSong> findAlbumSongsByAlbumId(Integer albumId);

	public Set<AlbumSong> findAlbumSongsBySongId(Integer songId);

	public Integer addAlbumSong(AlbumSong albumSong);

	public Integer updateAlbumSongBySongId(AlbumSong albumSong);

	public Integer updateAlbumSongByAlbumId(AlbumSong albumSong);

	public Integer deleteAlbumSong(AlbumSong albumSong);

	public Integer deleteAlbumSongByAlbumId(Integer id);

	public Integer deleteAlbumSongBySongId(Integer id);
}
